home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / DB_CLIPP / 2510.ZIP / TRSOURCE.EXE / _TR_ITOD.C < prev    next >
C/C++ Source or Header  |  1990-10-22  |  471b  |  34 lines

  1. /*********
  2. *
  3. * _TR_ITOD.C
  4. *
  5. * by Ralph Davis
  6. *
  7. * Placed in the public domain by Tom Rettig Associates, 10/22/1990.
  8. *
  9. *
  10. *  C Syntax:
  11. *
  12. *        double _tr_itod(n)
  13. *        int n;
  14. *
  15. *  Assembler Usage:
  16. *
  17. *        MOV   AX,<expN>
  18. *        PUSH  AX
  19. *        CALL  _TR_ITOD
  20. *        ADD   SP,2
  21. *
  22. *     Returns 8-byte floating point number in AX:BX:CX:DX
  23. *
  24. *********/
  25.  
  26. #include "trlib.h"
  27.  
  28. double _tr_itod(n)
  29. int n;
  30. {
  31.    return ((double) n);
  32. }
  33.  
  34.